import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;

public class YesterDateTest {

    @Test
    public void test1() {
        assertEquals("2023-12-31", YesterDate.getYesterDate(2024, 1, 1));
    }

    @Test
    public void test2() {
        assertEquals("2025-01-04", YesterDate.getYesterDate(2025, 1, 5));
    }

    @Test
    public void test3() {
        assertEquals("2024-01-31", YesterDate.getYesterDate(2024, 2, 1));
    }

    @Test
    public void test4() {
        assertEquals("2024-02-14", YesterDate.getYesterDate(2024, 2, 15));
    }

    @Test
    public void test5() {
        assertEquals("2024-02-29", YesterDate.getYesterDate(2024, 3, 1));
    }

    @Test
    public void test6() {
        assertEquals("2024-03-09", YesterDate.getYesterDate(2024, 3, 10));
    }
    @Test
    public void test7() {
        assertEquals("2024-03-31", YesterDate.getYesterDate(2024, 4, 1));
    }

    @Test
    public void test8() {
        assertEquals("2024-04-14", YesterDate.getYesterDate(2024, 4, 15));
    }

    @Test
    public void test9() {
        assertEquals("2024-04-30", YesterDate.getYesterDate(2024, 5, 1));
    }

    @Test
    public void test10() {
        assertEquals("2024-05-19", YesterDate.getYesterDate(2024, 5, 20));
    }

    @Test
    public void test11() {
        assertEquals("2024-11-30", YesterDate.getYesterDate(2024, 12, 1));
    }

    @Test
    public void test12() {
        assertEquals("2024-12-24", YesterDate.getYesterDate(2024, 12, 25));
    }
    @Test
    public void test13() {
        assertEquals("2022-12-31", YesterDate.getYesterDate(2023, 1, 1));
    }

    @Test
    public void test14() {
        assertEquals("2023-01-09", YesterDate.getYesterDate(2023, 1, 10));
    }

    @Test
    public void test15() {
        assertEquals("2023-01-31", YesterDate.getYesterDate(2023, 2, 1));
    }

    @Test
    public void test16() {
        assertEquals("2023-02-14", YesterDate.getYesterDate(2023, 2, 15));
    }

    @Test
    public void test17() {
        assertEquals("2023-02-28", YesterDate.getYesterDate(2023, 3, 1));
    }

    @Test
    public void test18() {
        assertEquals("2023-03-09", YesterDate.getYesterDate(2023, 3, 10));
    }
    @Test
    public void test19() {
        assertEquals("2023-03-31", YesterDate.getYesterDate(2023, 4, 1));
    }

    @Test
    public void test20() {
        assertEquals("2023-04-14", YesterDate.getYesterDate(2023, 4, 15));
    }

    @Test
    public void test21() {
        assertEquals("2023-04-30", YesterDate.getYesterDate(2023, 5, 1));
    }

    @Test
    public void test22() {
        assertEquals("2023-05-19", YesterDate.getYesterDate(2023, 5, 20));
    }

    @Test
    public void test23() {
        assertEquals("2023-11-30", YesterDate.getYesterDate(2023, 12, 1));
    }

    @Test
    public void test24() {
        assertEquals("2023-12-24", YesterDate.getYesterDate(2023, 12, 25));
    }
}